package com.rowline.admin.module.study.thread;

/**
 * ClassName:T2
 * Created by 245167
 * on 2018/1/11  11:44
 * description:
 */
public class T2 extends Thread {

    private Thread thread;

    public T2(Thread thread) {
        this.thread = thread;
    }

    public void run(){
        try {
            thread.join();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("This in T2");
    }


}
